package com.kuzan.autocloud.common.model.log;

import com.kuzan.autocloud.common.model.Base;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * <p>Description: 日志统计</p>
 *
 * @author kuzank
 */
@Data
@NoArgsConstructor
@Entity
@Table(name = "sys_log_official_statistical")
public class LogOfficialStatistical extends Base {
    /**
     * 日志类型
     */
    @Column(length = 32)
    private String logtype;
    /**
     * 目标对象
     */
    @Column(length = 32)
    private String target;
    /**
     * 日志日期
     */
    @Column(length = 30)
    private String dateoflog;
    /**
     * 总数
     */
    private int total;
    /**
     * 最慢时间
     */
    private double maxtime;
    /**
     * 最快时间
     */
    private double mintime;
    /**
     * 平均时间
     */
    private double avgtime;
}
